NAME := main
TEXS := $(wildcard *.tex)


all: ${NAME}.pdf

${NAME}.pdf: ${TEXS} bib.bib
	pdflatex ${NAME}.tex

clean:
	ls $(NAME)* | grep -v ".tex" | xargs rm -f
	rm -f *.bak *~
